package com.app.milkteaapp.bean;

import java.util.Date;

public class AddOrlderGsonBean {
    /**
     * data : {"id":7,"userid":1,"teaid":1,"date":null,"note":null,"num":1}
     * success : true
     * massage : 添加订单成功!
     */

    private Order data;
    private boolean success;
    private String massage;

    public Order getData() {
        return data;
    }

    public void setData(Order data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMassage() {
        return massage;
    }

    public void setMassage(String massage) {
        this.massage = massage;
    }

    public static class Order {
        /**
         * id : 7
         * userid : 1
         * teaid : 1
         * date : null
         * note : null
         * num : 1
         */

        private int id;
        private int userid;
        private int teaid;
        private Date date;
        private String note;
        private int num;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserid() {
            return userid;
        }

        public void setUserid(int userid) {
            this.userid = userid;
        }

        public int getTeaid() {
            return teaid;
        }

        public void setTeaid(int teaid) {
            this.teaid = teaid;
        }

        public Date getDate() {
            return date;
        }

        public void setDate(Date date) {
            this.date = date;
        }

        public String getNote() {
            return note;
        }

        public void setNote(String note) {
            this.note = note;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }
    }
}
